<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  /**
   * 对象的简化写法：
   *  允许在括号内直接写入变量和函数作为对象的属性和方法
   */
  let name = "Jason Black";
  let introduce = function (name){
    console.log(`hello my name is ${name}`)
  }
  const student = {
    name,
    introduce,
    from(){
      console.log("I am from Chinese...")
    }
  }
</script>
</body>
</html>